/*
 * @Author: jingfuu@163.com
 * @Date: 2024-09-13 09:47:25
 * @LastEditTime: 2024-12-07 21:12:49
 * @Description: file content
 */
import { Global, Module } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
import { RedisConfiguration } from './RedisConfiguration';
import { PrismaService } from './prisma/PrismaService';
import { CacheUtil } from './CacheUtil';
import UserNoticeMsgUtil from './UserNoticeMsgUtil';
import DictUtil from './DictUtil';

@Global()
@Module({
  providers: [
    ConfigService,
    RedisConfiguration,
    PrismaService,
    CacheUtil,
    UserNoticeMsgUtil,
    DictUtil,
  ],
  exports: [RedisConfiguration, PrismaService, CacheUtil, DictUtil],
})
export class CommonModule {}
